function getClass_46(){
  return Lcom_google_gwt_lang_asyncloaders_AsyncLoader1_2_classLit;
}

function onLoad(){
  loaded = true;
  instance_0 = ($clinit_108() , new AsyncLoader1);
  $fragmentHasLoaded(($clinit_12() , BROWSER_LOADER), 1);
  !!$stats && $stats($createStatsEvent('runCallbacks1', 'begin', null, null));
  instance_0.runCallbacks();
  !!$stats && $stats($createStatsEvent('runCallbacks1', 'end', null, null));
}

function runCallbacks_0(){
  var gin;
  while (callbacksHead) {
    callbacksHead = callbacksHead.next;
    !callbacksHead && (callbacksTail = null);
    gin = new BgpGinjectorImpl;
    container_0 = ($AppController(new AppController, ($get_3(new BgpServiceProvider) , $get_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$(gin))) , get_0('bgpapp'));
    $equals_3('', ($clinit_113() , impl?$wnd.__gwt_historyToken || '':''))?!!impl && $newItem(impl, 'gametypes', true):fireCurrentHistoryState();
  }
}

function AsyncLoader1(){
}

_ = AsyncLoader1.prototype = new AsyncLoader1__Super;
_.getClass$ = getClass_46;
_.runCallbacks = runCallbacks_0;
_.typeId$ = 0;
function $clinit_113(){
  $clinit_113 = nullMethod;
  impl = $HistoryImplMozilla(new HistoryImplMozilla);
  !$init_0(impl) && (impl = null);
}

function fireCurrentHistoryState(){
  $clinit_113();
  var token;
  if (impl) {
    token = impl?$wnd.__gwt_historyToken || '':'';
    fire_0(impl, token);
  }
}

function newItem(historyToken, issueEvent){
  $clinit_113();
  !!impl && $newItem(impl, historyToken, issueEvent);
}

var impl = null;
function $addValueChangeHandler(this$static, handler){
  return $addHandler(this$static.handlers, getType(), handler);
}

function $newItem(this$static, historyToken, issueEvent){
  historyToken = historyToken == null?'':historyToken;
  if (!$equals_3(historyToken, $wnd.__gwt_historyToken || '')) {
    $wnd.__gwt_historyToken = historyToken;
    $nativeUpdate(this$static, historyToken);
    issueEvent && fire_0(this$static, historyToken);
  }
}

function decodeFragment(encodedFragment){
  return decodeURI(encodedFragment.replace('%23', '#'));
}

function encodeFragment(fragment){
  return encodeURI(fragment).replace('#', '%23');
}

function fireEvent_1(event_0){
  $fireEvent(this.handlers, event_0);
}

function getClass_54(){
  return Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit;
}

function newItemOnEvent(historyToken){
  historyToken = historyToken == null?'':historyToken;
  if (!$equals_3(historyToken, $wnd.__gwt_historyToken || '')) {
    $wnd.__gwt_historyToken = historyToken;
    fire_0(this, historyToken);
  }
}

function HistoryImpl(){
}

_ = HistoryImpl.prototype = new Object_0;
_.decodeFragment = decodeFragment;
_.encodeFragment = encodeFragment;
_.fireEvent = fireEvent_1;
_.getClass$ = getClass_54;
_.newItemOnEvent = newItemOnEvent;
_.typeId$ = 19;
function $init_0(this$static){
  var token_0 = '';
  var hash_0 = $wnd.location.hash;
  hash_0.length > 0 && (token_0 = this$static.decodeFragment(hash_0.substring(1)));
  $wnd.__gwt_historyToken = token_0;
  var historyImpl = this$static;
  $wnd.__checkHistory = $entry(function(){
    $wnd.setTimeout($wnd.__checkHistory, 250);
    var token = '', hash = $wnd.location.hash;
    hash.length > 0 && (token = historyImpl.decodeFragment(hash.substring(1)));
    historyImpl.newItemOnEvent(token);
  }
  );
  $wnd.__checkHistory();
  return true;
}

function getClass_55(){
  return Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit;
}

function HistoryImplTimer(){
}

_ = HistoryImplTimer.prototype = new HistoryImpl;
_.getClass$ = getClass_55;
_.typeId$ = 20;
function $HistoryImplMozilla(this$static){
  this$static.handlers = $HandlerManager(new HandlerManager, null);
  return this$static;
}

function $nativeUpdate(this$static, historyToken){
  if (historyToken.length == 0) {
    var s = $wnd.location.href;
    var i = s.indexOf('#');
    i != -1 && (s = s.substring(0, i));
    $wnd.location = s + '#';
  }
   else {
    $wnd.location.hash = this$static.encodeFragment(historyToken);
  }
}

function decodeFragment_0(encodedFragment){
  return encodedFragment;
}

function getClass_56(){
  return Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit;
}

function HistoryImplMozilla(){
}

_ = HistoryImplMozilla.prototype = new HistoryImplTimer;
_.decodeFragment = decodeFragment_0;
_.getClass$ = getClass_56;
_.typeId$ = 21;
function $clear_0(this$static){
  var it;
  it = $WidgetCollection$WidgetIterator(new WidgetCollection$WidgetIterator, this$static.children);
  while (it.index_0 < it.this$0.size_0 - 1) {
    $next_0(it);
    $remove_4(it);
  }
}

function $initWidget(this$static, widget){
  if (this$static.widget) {
    throw $IllegalStateException_0(new IllegalStateException, 'Composite.initWidget() may only be called once.');
  }
  $removeFromParent(widget);
  $setElement(this$static, widget.element);
  this$static.widget = widget;
  $setParent(widget, this$static);
}

function getClass_97(){
  return Lcom_google_gwt_user_client_ui_Composite_2_classLit;
}

function isAttached_0(){
  if (this.widget) {
    return this.widget.attached;
  }
  return false;
}

function onAttach_0(){
  if (this.eventsToSink != -1) {
    $sinkEvents_0(this.widget, this.eventsToSink);
    this.eventsToSink = -1;
  }
  $onAttach(this.widget);
  this.element.__listener = this;
}

function onBrowserEvent_0(event_0){
  $onBrowserEvent(this, event_0);
  $onBrowserEvent(this.widget, event_0);
}

function onDetach_0(){
  $onDetach(this.widget);
}

function Composite(){
}

_ = Composite.prototype = new Widget;
_.getClass$ = getClass_97;
_.isAttached = isAttached_0;
_.onAttach = onAttach_0;
_.onBrowserEvent = onBrowserEvent_0;
_.onDetach = onDetach_0;
_.typeId$ = 51;
_.widget = null;
function $FlowPanel(this$static){
  this$static.children = $WidgetCollection(new WidgetCollection, this$static);
  this$static.element = ($clinit_33() , $doc).createElement('div');
  return this$static;
}

function $add_2(this$static, w){
  $add_0(this$static, w, this$static.element);
}

function getClass_102(){
  return Lcom_google_gwt_user_client_ui_FlowPanel_2_classLit;
}

function FlowPanel(){
}

_ = FlowPanel.prototype = new ComplexPanel;
_.getClass$ = getClass_102;
_.typeId$ = 54;
function $AppController(this$static, eventBus){
  this$static.bgpInject = new BgpGinjectorImpl;
  $PlaceService(new PlaceService, eventBus);
  this$static.eventBus = eventBus;
  $addHandler(this$static.eventBus, ($clinit_260() , TYPE_3), $AppController$1(new AppController$1, this$static));
  return this$static;
}

function getClass_115(){
  return Lcom_hu_bgp_client_AppController_2_classLit;
}

function AppController(){
}

_ = AppController.prototype = new Object_0;
_.getClass$ = getClass_115;
_.typeId$ = 0;
_.eventBus = null;
var container_0 = null;
function $AppController$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $changePlaceTo(this$static, place){
  var p;
  if (place != null && canCast(place.typeId$, 65)) {
    p = $create_Key$type$com$hu$bgp$client$presenter$GameTypes$_annotation$$none$$(this$static.this$0.bgpInject);
    $go_1(p, container_0);
  }
  place != null && canCast(place.typeId$, 66) && ($wnd.alert('Not yet implemented') , undefined);
  if (place != null && canCast(place.typeId$, 67)) {
    p = $create_Key$type$com$hu$bgp$client$presenter$GameSessions$_annotation$$none$$(this$static.this$0.bgpInject);
    dynamicCast(place, 67);
    $go_0(p, container_0);
  }
}

function getClass_116(){
  return Lcom_hu_bgp_client_AppController$1_2_classLit;
}

function AppController$1(){
}

_ = AppController$1.prototype = new Object_0;
_.getClass$ = getClass_116;
_.typeId$ = 60;
_.this$0 = null;
function $$init_17(this$static){
}

function $com$hu$bgp$client$presenter$GameSessions_GameSessions_methodInjection(_0, _1){
  return $GameSessions(new GameSessions, _0, _1);
}

function $create_Key$type$com$hu$bgp$client$presenter$GameSessions$_annotation$$none$$(this$static){
  var result;
  result = $com$hu$bgp$client$presenter$GameSessions_GameSessions_methodInjection($GameSessions_0(new GameSessions_0), $get_3(new BgpServiceProvider), $get_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$(this$static));
  return result;
}

function $create_Key$type$com$hu$bgp$client$presenter$GameTypes$_annotation$$none$$(this$static){
  var result;
  result = $GameTypes(new GameTypes, $GameTypes_0(new GameTypes_0), $get_3(new BgpServiceProvider), $get_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$(this$static));
  return result;
}

function $get_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$(this$static){
  !this$static.singleton_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$ && (this$static.singleton_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$ = (new EventBusProvider , $HandlerManager(new HandlerManager, null)));
  return this$static.singleton_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$;
}

function getClass_139(){
  return Lcom_hu_bgp_client_gin_BgpGinjectorImpl_2_classLit;
}

function BgpGinjectorImpl(){
}

_ = BgpGinjectorImpl.prototype = new Object_0;
_.getClass$ = getClass_139;
_.typeId$ = 0;
_.singleton_Key$type$com$google$gwt$event$shared$HandlerManager$_annotation$$none$$ = null;
function $get_3(){
  var bgpService, target;
  bgpService = $BgpService_Proxy(new BgpService_Proxy);
  target = bgpService;
  target.remoteServiceURL = '/bgp/bgpService';
  return bgpService;
}

function getClass_140(){
  return Lcom_hu_bgp_client_gin_BgpServiceProvider_2_classLit;
}

function BgpServiceProvider(){
}

_ = BgpServiceProvider.prototype = new Object_0;
_.getClass$ = getClass_140;
_.typeId$ = 0;
function getClass_141(){
  return Lcom_hu_bgp_client_gin_EventBusProvider_2_classLit;
}

function EventBusProvider(){
}

_ = EventBusProvider.prototype = new Object_0;
_.getClass$ = getClass_141;
_.typeId$ = 0;
function $clinit_260(){
  $clinit_260 = nullMethod;
  TYPE_3 = $GwtEvent$Type(new GwtEvent$Type);
}

function $PlaceChangedEvent(this$static, place){
  $clinit_260();
  this$static.place = place;
  return this$static;
}

function dispatch_3(p0){
  $changePlaceTo(dynamicCast(p0, 76), this.place);
}

function getAssociatedType_3(){
  return TYPE_3;
}

function getClass_142(){
  return Lcom_hu_bgp_client_localevent_PlaceChangedEvent_2_classLit;
}

function PlaceChangedEvent(){
}

_ = PlaceChangedEvent.prototype = new GwtEvent;
_.dispatch = dispatch_3;
_.getAssociatedType = getAssociatedType_3;
_.getClass$ = getClass_142;
_.typeId$ = 0;
_.place = null;
var TYPE_3;
function $clinit_262(){
  $clinit_262 = nullMethod;
  TYPE_4 = $GwtEvent$Type(new GwtEvent$Type);
}

function $RequestPlaceChange(this$static, place){
  $clinit_262();
  this$static.place = place;
  return this$static;
}

function $dispatch_3(this$static){
  newItem('gamelist!gametype=' + this$static.place.gameAlias, true);
}

function dispatch_4(p0){
  $dispatch_3(this, dynamicCast(p0, 77));
}

function getAssociatedType_4(){
  return TYPE_4;
}

function getClass_143(){
  return Lcom_hu_bgp_client_localevent_RequestPlaceChange_2_classLit;
}

function RequestPlaceChange(){
}

_ = RequestPlaceChange.prototype = new GwtEvent;
_.dispatch = dispatch_4;
_.getAssociatedType = getAssociatedType_4;
_.getClass$ = getClass_143;
_.typeId$ = 0;
_.place = null;
var TYPE_4;
function $Place(this$static, state){
  var $e0, arr, att, i, t;
  this$static.attributes = $HashMap(new HashMap);
  $$init_17(new BgpGinjectorImpl);
  new URIconstants;
  att = $substring_0(state, state.indexOf('!') + 1, state.length);
  arr = $split(att, ';', 0);
  for (i = 0; i < arr.length; ++i) {
    t = $split(arr[i], '=', 0);
    try {
      this$static.attributes.put(t[0], t[1]);
    }
     catch ($e0) {
      $e0 = caught_0($e0);
      if (!instanceOf($e0, 78))
        throw $e0;
    }
  }
  return this$static;
}

function getClass_144(){
  return Lcom_hu_bgp_client_place_Place_2_classLit;
}

function Place(){
}

_ = Place.prototype = new Object_0;
_.getClass$ = getClass_144;
_.typeId$ = 0;
function $PlaceService(this$static, eventBus){
  this$static.eventBus = eventBus;
  $clinit_113();
  impl?$addValueChangeHandler(impl, this$static):null;
  $addHandler(this$static.eventBus, ($clinit_262() , TYPE_4), new PlaceService$1);
  return this$static;
}

function getClass_145(){
  return Lcom_hu_bgp_client_place_PlaceService_2_classLit;
}

function onValueChange(event_0){
  var place, token;
  token = dynamicCast(event_0.value, 1);
  place = '';
  token.indexOf('!') > 0?(place = token.substr(0, token.indexOf('!') - 0)):(place = token);
  if (token != null) {
    $equals_3(place, 'game') && $fireEvent(this.eventBus, $PlaceChangedEvent(new PlaceChangedEvent, $BoardgamePlace(new BoardgamePlace, token)));
    $equals_3(place, 'gametypes') && $fireEvent(this.eventBus, $PlaceChangedEvent(new PlaceChangedEvent, $GameTypePlace(new GameTypePlace, token)));
    $equals_3(place, 'gamelist') && $fireEvent(this.eventBus, $PlaceChangedEvent(new PlaceChangedEvent, $GameSessionPlace(new GameSessionPlace, token)));
    place.indexOf('account') == 0;
  }
}

function PlaceService(){
}

_ = PlaceService.prototype = new Object_0;
_.getClass$ = getClass_145;
_.onValueChange = onValueChange;
_.typeId$ = 68;
_.eventBus = null;
function getClass_146(){
  return Lcom_hu_bgp_client_place_PlaceService$1_2_classLit;
}

function PlaceService$1(){
}

_ = PlaceService$1.prototype = new Object_0;
_.getClass$ = getClass_146;
_.typeId$ = 69;
function getClass_147(){
  return Lcom_hu_bgp_client_place_URIconstants_2_classLit;
}

function URIconstants(){
}

_ = URIconstants.prototype = new Object_0;
_.getClass$ = getClass_147;
_.typeId$ = 0;
function $BoardgamePlace(this$static, state){
  $Place(this$static, state);
  return this$static;
}

function getClass_148(){
  return Lcom_hu_bgp_client_presenter_BoardgamePlace_2_classLit;
}

function BoardgamePlace(){
}

_ = BoardgamePlace.prototype = new Place;
_.getClass$ = getClass_148;
_.typeId$ = 70;
function $GameSessionPlace(this$static, state){
  $Place(this$static, state);
  console.debug('GameSessionPlace: ' + state);
  this$static.gameAlias = dynamicCast(this$static.attributes.get_0('gametype'), 1);
  return this$static;
}

function $GameSessionPlace_0(this$static){
  $Place(this$static, '');
  return this$static;
}

function getClass_149(){
  return Lcom_hu_bgp_client_presenter_GameSessionPlace_2_classLit;
}

function GameSessionPlace(){
}

_ = GameSessionPlace.prototype = new Place;
_.getClass$ = getClass_149;
_.typeId$ = 71;
_.gameAlias = null;
function $GameSessions(this$static, view, bgpService){
  this$static.view = view;
  this$static.bgpService = bgpService;
  $addDomHandler(this$static.view.joinButton, $GameSessions$2(new GameSessions$2, this$static), ($clinit_43() , $clinit_43() , TYPE));
  return this$static;
}

function $go_0(this$static, container){
  $clear_0(container);
  $getClientGameSessionCollection(this$static.bgpService, '', $GameSessions$1(new GameSessions$1, this$static));
  $add_1(container, this$static.view);
}

function getClass_150(){
  return Lcom_hu_bgp_client_presenter_GameSessions_2_classLit;
}

function GameSessions(){
}

_ = GameSessions.prototype = new Object_0;
_.getClass$ = getClass_150;
_.typeId$ = 0;
_.bgpService = null;
_.view = null;
function $GameSessions$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $onSuccess_4(this$static, result){
  var cg, cg$iterator;
  for (cg$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, result); cg$iterator.i < cg$iterator.this$0.size_1();) {
    cg = dynamicCast($next_3(cg$iterator), 79);
    $addGameRow(this$static.this$0.view.typeTable, cg);
  }
}

function getClass_151(){
  return Lcom_hu_bgp_client_presenter_GameSessions$1_2_classLit;
}

function onFailure_7(caught){
}

function onSuccess_7(p0){
  $onSuccess_4(this, dynamicCast(p0, 80));
}

function GameSessions$1(){
}

_ = GameSessions$1.prototype = new Object_0;
_.getClass$ = getClass_151;
_.onFailure = onFailure_7;
_.onSuccess = onSuccess_7;
_.typeId$ = 0;
_.this$0 = null;
function $GameSessions$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_152(){
  return Lcom_hu_bgp_client_presenter_GameSessions$2_2_classLit;
}

function onClick_2(event_0){
  $wnd.alert('gameid: ' + dynamicCast(this.this$0.view.typeTable.selection, 79).gameID);
}

function GameSessions$2(){
}

_ = GameSessions$2.prototype = new Object_0;
_.getClass$ = getClass_152;
_.onClick = onClick_2;
_.typeId$ = 72;
_.this$0 = null;
function $GameTypePlace(this$static, state){
  $Place(this$static, state);
  return this$static;
}

function getClass_153(){
  return Lcom_hu_bgp_client_presenter_GameTypePlace_2_classLit;
}

function GameTypePlace(){
}

_ = GameTypePlace.prototype = new Place;
_.getClass$ = getClass_153;
_.typeId$ = 73;
function $GameTypes(this$static, view, bgpService, eventBus){
  this$static.view = view;
  this$static.bgpService = bgpService;
  this$static.eventBus = eventBus;
  $addDomHandler(this$static.view.selectButton, $GameTypes$2(new GameTypes$2, this$static), ($clinit_43() , $clinit_43() , TYPE));
  return this$static;
}

function $go_1(this$static, container){
  $clear_0(container);
  $getClientGameTypeCollection_0(this$static.bgpService, $GameTypes$1(new GameTypes$1, this$static));
  $add_1(container, this$static.view);
}

function getClass_154(){
  return Lcom_hu_bgp_client_presenter_GameTypes_2_classLit;
}

function GameTypes(){
}

_ = GameTypes.prototype = new Object_0;
_.getClass$ = getClass_154;
_.typeId$ = 0;
_.bgpService = null;
_.eventBus = null;
_.view = null;
function $GameTypes$1(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function $onSuccess_5(this$static, result){
  var gameType, gameType$iterator;
  for (gameType$iterator = $AbstractList$IteratorImpl(new AbstractList$IteratorImpl, result); gameType$iterator.i < gameType$iterator.this$0.size_1();) {
    gameType = dynamicCast($next_3(gameType$iterator), 71);
    $addGameRow(this$static.this$0.view.typeTable, gameType);
  }
}

function getClass_155(){
  return Lcom_hu_bgp_client_presenter_GameTypes$1_2_classLit;
}

function onFailure_8(caught){
  $wnd.alert('failed to get Game types');
}

function onSuccess_8(p0){
  $onSuccess_5(this, dynamicCast(p0, 72));
}

function GameTypes$1(){
}

_ = GameTypes$1.prototype = new Object_0;
_.getClass$ = getClass_155;
_.onFailure = onFailure_8;
_.onSuccess = onSuccess_8;
_.typeId$ = 0;
_.this$0 = null;
function $GameTypes$2(this$static, this$0){
  this$static.this$0 = this$0;
  return this$static;
}

function getClass_156(){
  return Lcom_hu_bgp_client_presenter_GameTypes$2_2_classLit;
}

function onClick_3(event_0){
  var gp;
  $wnd.alert('gametype: ' + dynamicCast(this.this$0.view.typeTable.selection, 71).displayName);
  gp = $GameSessionPlace_0(new GameSessionPlace);
  gp.gameAlias = dynamicCast(this.this$0.view.typeTable.selection, 71).alias;
  $fireEvent(this.this$0.eventBus, $RequestPlaceChange(new RequestPlaceChange, gp));
}

function GameTypes$2(){
}

_ = GameTypes$2.prototype = new Object_0;
_.getClass$ = getClass_156;
_.onClick = onClick_3;
_.typeId$ = 74;
_.this$0 = null;
function $getClientGameSessionCollection(this$static, gameTypeAlias, callback){
  var $e0, payload, requestId, streamWriter;
  requestId = requestId_0++;
  !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:requestId, method:'BgpService_Proxy.getClientGameSessionCollection', millis:(new Date).getTime(), type:'begin'});
  streamWriter = $createStreamWriter(this$static);
  try {
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'com.hu.bgp.client.rpc.BgpService'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'getClientGameSessionCollection'));
    append(streamWriter.encodeBuffer, '1');
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, 'java.lang.String/2004016611'));
    append(streamWriter.encodeBuffer, '' + $addString(streamWriter, gameTypeAlias));
    payload = $toString_2(streamWriter);
    !!$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'rpc', evtGroup:requestId, method:'BgpService_Proxy.getClientGameSessionCollection', millis:(new Date).getTime(), type:'requestSerialized'});
    $doInvoke(this$static, ($clinit_163() , OBJECT), 'BgpService_Proxy.getClientGameSessionCollection', requestId, payload, callback);
  }
   catch ($e0) {
    $e0 = caught_0($e0);
    if (!instanceOf($e0, 61))
      throw $e0;
  }
}

function $GameSessions_0(this$static){
  this$static.content = $FlowPanel(new FlowPanel);
  this$static.typeTable = $GameSessionTable(new GameSessionTable);
  this$static.joinButton = $Button_0(new Button, 'Select');
  $add_2(this$static.content, this$static.typeTable);
  $add_2(this$static.content, this$static.joinButton);
  $initWidget(this$static, this$static.content);
  return this$static;
}

function getClass_161(){
  return Lcom_hu_bgp_client_view_GameSessions_2_classLit;
}

function GameSessions_0(){
}

_ = GameSessions_0.prototype = new Composite;
_.getClass$ = getClass_161;
_.typeId$ = 75;
_.joinButton = null;
_.typeTable = null;
function $GameTypes_0(this$static){
  this$static.content = $FlowPanel(new FlowPanel);
  this$static.typeTable = $GameTypeTableUser(new GameTypeTableUser);
  this$static.selectButton = $Button_0(new Button, 'Select');
  $add_2(this$static.content, this$static.typeTable);
  $add_2(this$static.content, this$static.selectButton);
  $initWidget(this$static, this$static.content);
  return this$static;
}

function getClass_162(){
  return Lcom_hu_bgp_client_view_GameTypes_2_classLit;
}

function GameTypes_0(){
}

_ = GameTypes_0.prototype = new Composite;
_.getClass$ = getClass_162;
_.typeId$ = 76;
_.selectButton = null;
_.typeTable = null;
function $GameSessionTable(this$static){
  $SelectionTable(this$static);
  return this$static;
}

function $createRow(gameType){
  return initValues(_3Lcom_google_gwt_user_client_ui_Widget_2_classLit, 177, 29, [$Label(new Label, gameType.gameID), $Label(new Label, gameType.gameName)]);
}

function createHeader(){
  return initValues(_3Lcom_google_gwt_user_client_ui_Label_2_classLit, 173, 25, [$Label(new Label, 'Game ID'), $Label(new Label, 'Name!')]);
}

function createRow(p0){
  return $createRow(dynamicCast(p0, 79));
}

function getClass_165(){
  return Lcom_hu_bgp_client_widgets_uicomponents_GameSessionTable_2_classLit;
}

function GameSessionTable(){
}

_ = GameSessionTable.prototype = new SelectionTable;
_.createHeader = createHeader;
_.createRow = createRow;
_.getClass$ = getClass_165;
_.typeId$ = 79;
function $split(this$static, regex, maxMatch){
  var compiled = new RegExp(regex, 'g');
  var out = [];
  var count = 0;
  var trail = this$static;
  var lastTrail = null;
  while (true) {
    var matchObj = compiled.exec(trail);
    if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) {
      out[count] = trail;
      break;
    }
     else {
      out[count] = trail.substring(0, matchObj.index);
      trail = trail.substring(matchObj.index + matchObj[0].length, trail.length);
      compiled.lastIndex = 0;
      if (lastTrail == trail) {
        out[count] = trail.substring(0, 1);
        trail = trail.substring(1);
      }
      lastTrail = trail;
      count++;
    }
  }
  if (maxMatch == 0 && this$static.length > 0) {
    var lastNonEmpty = out.length;
    while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') {
      --lastNonEmpty;
    }
    lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty);
  }
  var jr = initDim(_3Ljava_lang_String_2_classLit, 201, 1, out.length, 0);
  for (var i = 0; i < out.length; ++i) {
    jr[i] = out[i];
  }
  return jr;
}

var _3Ljava_lang_String_2_classLit = createForArray('[Ljava.lang.', 'String;'), Lcom_google_gwt_lang_asyncloaders_AsyncLoader1_2_classLit = createForClass('com.google.gwt.lang.asyncloaders.', 'AsyncLoader1'), Lcom_google_gwt_user_client_impl_HistoryImpl_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImpl'), Lcom_google_gwt_user_client_impl_HistoryImplTimer_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplTimer'), Lcom_google_gwt_user_client_impl_HistoryImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl.', 'HistoryImplMozilla'), Lcom_google_gwt_user_client_ui_Composite_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'Composite'), Lcom_google_gwt_user_client_ui_FlowPanel_2_classLit = createForClass('com.google.gwt.user.client.ui.', 'FlowPanel'), Lcom_hu_bgp_client_gin_EventBusProvider_2_classLit = createForClass('com.hu.bgp.client.gin.', 'EventBusProvider'), Lcom_hu_bgp_client_gin_BgpServiceProvider_2_classLit = createForClass('com.hu.bgp.client.gin.', 'BgpServiceProvider'), Lcom_hu_bgp_client_view_GameTypes_2_classLit = createForClass('com.hu.bgp.client.view.', 'GameTypes'), Lcom_hu_bgp_client_view_GameSessions_2_classLit = createForClass('com.hu.bgp.client.view.', 'GameSessions'), Lcom_hu_bgp_client_place_URIconstants_2_classLit = createForClass('com.hu.bgp.client.place.', 'URIconstants'), Lcom_hu_bgp_client_gin_BgpGinjectorImpl_2_classLit = createForClass('com.hu.bgp.client.gin.', 'BgpGinjectorImpl'), Lcom_hu_bgp_client_localevent_PlaceChangedEvent_2_classLit = createForClass('com.hu.bgp.client.localevent.', 'PlaceChangedEvent'), Lcom_hu_bgp_client_localevent_RequestPlaceChange_2_classLit = createForClass('com.hu.bgp.client.localevent.', 'RequestPlaceChange'), Lcom_hu_bgp_client_place_Place_2_classLit = createForClass('com.hu.bgp.client.place.', 'Place'), Lcom_hu_bgp_client_place_PlaceService_2_classLit = createForClass('com.hu.bgp.client.place.', 'PlaceService'), Lcom_hu_bgp_client_place_PlaceService$1_2_classLit = createForClass('com.hu.bgp.client.place.', 'PlaceService$1'), Lcom_hu_bgp_client_presenter_BoardgamePlace_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'BoardgamePlace'), Lcom_hu_bgp_client_presenter_GameSessionPlace_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameSessionPlace'), Lcom_hu_bgp_client_presenter_GameSessions_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameSessions'), Lcom_hu_bgp_client_presenter_GameSessions$1_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameSessions$1'), Lcom_hu_bgp_client_presenter_GameSessions$2_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameSessions$2'), Lcom_hu_bgp_client_presenter_GameTypePlace_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameTypePlace'), Lcom_hu_bgp_client_presenter_GameTypes_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameTypes'), Lcom_hu_bgp_client_presenter_GameTypes$1_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameTypes$1'), Lcom_hu_bgp_client_presenter_GameTypes$2_2_classLit = createForClass('com.hu.bgp.client.presenter.', 'GameTypes$2'), Lcom_hu_bgp_client_widgets_uicomponents_GameSessionTable_2_classLit = createForClass('com.hu.bgp.client.widgets.uicomponents.', 'GameSessionTable'), Lcom_hu_bgp_client_AppController_2_classLit = createForClass('com.hu.bgp.client.', 'AppController'), Lcom_hu_bgp_client_AppController$1_2_classLit = createForClass('com.hu.bgp.client.', 'AppController$1');
onLoad();
